package top.cluski.feieprint.entity;

import com.mybatisflex.annotation.Column;
import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import lombok.Data;
import lombok.experimental.Accessors;

import java.time.LocalDateTime;

@Table("youzan_err_callbacks")
@Data
@Accessors(chain = true)
public class YouzanErrCallbackEntity {
    @Id(keyType = KeyType.Auto)
    Integer id;

    @Column("text")
    String text;

    @Column(value = "create_time", onInsertValue = "now()")
    LocalDateTime createTime;

    public static YouzanErrCallbackEntity create() {
        return new YouzanErrCallbackEntity();
    }
}
